package com.ruoyi.basic.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 年度考核奖励对象 basic_reward
 * 
 * @author ruoyi
 * @date 2022-08-15
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("basic_reward")
public class BasicReward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 年度奖励id */
    @TableId(type = IdType.AUTO)
    private Long rewardId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long userId;

    @TableField(exist = false)
    private String userNo;

    @TableField(exist = false)
    @Excel(name = "员工姓名")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "身份证号")
    private String idCard;

    @TableField(exist = false)
    private Long deptId;

    /** 奖励年度 */
    @Excel(name = "奖励年度")
    private String rewardYear;

    /** 奖励类型 */
    @Excel(name = "奖励类型", dictType = "basic_reward_type", comboDict = "basic_reward_type")
    private String rewardType;

    /** 奖励名称 */
    @Excel(name = "奖励名称")
    private String rewardName;

    /** 奖励分值 */
    @Excel(name = "奖励分值")
    private BigDecimal rewardScore;

    /** 删除标识 */
    @TableLogic
    private String delFlag;

}
